package com.example.service.user;

import com.example.dto.request.user.UserSettingsRequestDTO;
import com.example.pojo.User;
import com.example.service.AvatarService;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author 悠一木碧
 */
public interface UserSettingsService extends AvatarService {


    void replaceAvatar(User user, MultipartFile image) throws Exception;

    void modifyProfile(User user, UserSettingsRequestDTO requestDTO) throws Exception;

    void updatePassword(User user);
}
